var str=document.URL.split("?")[1];
var obj={};
var arr;
arr=str.split("=");
obj[arr[0]]=arr[1];
var no=obj.no;
var reply = new Vue({
    el: "#reply",
    data:
        {
            messages:''
        },
    methods:{
        send(){
            axios({
                method:'POST',
                url:'http://localhost:8099/unread/getById/'+no
            }).then(function(res){
                reply.messages=res.data;

            }).catch(function (reason) {
                console.log(reason);
            })
        }
    },
    //页面加载完自动执行
    mounted(){
        this.send();

    }
});